PageSpinner supports automatic inclusion of contents from files or Notebook pages. This enables you to change common sections on all pages in a folder or a site by editing a single Include file. The contents of an Include file will automatically be inserted into a page when the page is saved. In addition, PageSpinner Includes also support automatic time and date stamps in pages.
Include files can be placed in an hierarchy of multiple Include folders, enabling a page to:
- inherit Include files from a folder above, or
- use a custom file e.g., for a footer or header.
PageSpinner Include files can also be used to include JavaScript sections that need to be available on several pages, making it easy to modify the JavaScript source code since it is kept in a single file.
Use the menu item Paste Include... in the Edit menu to insert a pair of HTML comments to make PageSpinner automatically include contents from a file or insert a date stamp. An AppleScript in the new AppleScript menu enables automatic update of all files with include files inside a folder.
AppleScript support
It is now possible to use AppleScript or AppleScript-compatible scripting environments to control PageSpinner directly. If you are not familiar with AppleScript, there is a "Getting Started with AppleScript" page in the "AppleScript_Documentation" folder located inside the Documentation folder. This page contains links to external AppleScript resources on the net.
AppleScript Menu
More than 30 AppleScripts that automate tasks and bring new functions to PageSpinner are included. Press the Alt key when selecting a script in the menu to view info and edit the script in Script Editor. The scripts are located in the folder named "PageSpinner Scripts". Any new script placed in the folder will be available in this menu the next time you start PageSpinner. Scripts with names that begin with the character !, * or a space are placed in special sections of the menu.
Database Publishing Kit
Included in this PageSpinner distribution are AppleScripts, templates and sample databases that show how to use PageSpinner to publish data on the web using FileMaker Pro, HyperCard and 4D Server. If you are familiar with AppleScript it will then be easy to customize the scripts and templates to your own needs.
FAQ-Spinner
FAQ-Spinner is another database kit that shows how a FAQ (list of frequently asked questions) can be maintained and edited in a FileMaker Pro database, and published on the web using PageSpinner. Registered users are free to use and modify the sample database and templates to publish their FAQ's or lists of information with a similar structure. FAQ-Spinner requires FileMaker Pro from Claris.
Root folder
A root folder can be specified in File : Preferences : General. The path to this folder can be accessed via AppleScript, and could be used to save or open files in. This folder should be set to be the root folder of your web contents. The root folder is currently used by some of the included AppleScripts.
More floating menu palettes
Any menu can now become a floating menu palette. Press Control + Alt + Command when selecting a menu item in a menu, to get the entire menu to be displayed as a floating menu palette. This is especially useful when working frequently with items in hierarchic menus that can be inconvenient to access in the menu bar.
PageSpinner Extensions
PageSpinner supports menu plug-ins in the:
- Tags menu
- Web Tools menu
plus support for plug-ins for the HTML Example window.
These extensions can be created with ResEdit, and should be placed in the folder "PageSpinner Extensions". An extension can also have a folder inside the extension folder containing applications, compiled AppleScript applications, files and documentation in HTML format. This makes it possible to create small updates and to add new features without releasing a new version of the application.
This open architecture also enables third-party extension to menus and examples. If you are a developer of a CGI-extension to a web server you can create a menu with your custom tags and a set of examples. If you are a developer of an application that can be useful for PageSpinner users, you can create a menu extension that let users launch, get information or run AppleScript applications to script your application from PageSpinner. More information can be found in the "PageSpinner Extension SDK" that can be downloaded from the support page at PageSpinner's web site.
The following extensions are included in this distribution:
Plug-in Menus in the Web Tools menu:
- Eudora, contains commands that enables you to email contents from a PageSpinner page with Eudora
- Graphic Tools, contains shortcuts for popular shareware graphic tools and applications
- HTML Tools, contains shortcuts for popular shareware HTML tools and applications
- Internet Tools, contains shortcuts for popular Internet tools and applications
- Navigator 3.0, contains AppleScript-based commands to control Navigator 3.0
- Search Engines, contains shortcuts to some popular search engines on the web
Note: Press the Alt-key when selecting a menu item in a Tools menu to view information about the application.
Press the Command-key when selecting an application in the Tools menus to open the frontmost PageSpinner window with the application. These shortcuts also works if you create a floating menu palette of a tool menu.
Plug-in Menus in the Tags menu:
- Java, contains the Applet tags and shortcuts for applications to preview pages with Java
- JavaScript, common used JavaScript commands, JavaScript Examples and more
- NetCloak CGI, tags that can be used if NetCloak is installed on your web server
- Netscape Layout Tags, Netscape 3.0 extensions to HTML
- Style Sheet, contains tags to be used for creating Cascading Style Sheets and to activate PageSpinner's helper application Style Sheet Assistant. Style Sheet Assistant is located in the folder named "Style Sheets" inside PageSpinner's Extensions folder. Additional information about the application can be found in the next section.
Plug-in Examples:
More JavaScript Examples
Netscape Layout Examples
Style Sheet Assistant
Style Sheet Assistant is a PageSpinner helper application included with PageSpinner that will let you create Cascading Sheet Standard Level 1 definitions. Please note that Style Sheet Assistant is still in development, since Explorer 4.0 and Navigator both has bugs and different ways of implementing the Cascading Sheet Standard Level 1 recommendation by W3C.
Since Style Sheet Assistant is part of the Style Sheet menu extension, you should be able to download future updates to the extension and application from the net. Go to the Support Page at PageSpinner's web site to find information about updates of Style Sheet Assistant. Style Sheet Assistant requires that AppleScript is installed in the system.
Faster opening of files
PageSpinner 2.0 will by default not wrap text in the editor to match the new window size when a window is resized. This, together with a new version of the WASTE text engine and some code optimizations, makes it much faster to open large files. The speed improvements of opening large files on PowerPC-based systems have been measured to be between 2 to 25 times faster depending upon the CPU, system and the contents of the file.
If you prefer, you can still use the automatic line-wrap from version 1.x by checking the box "Wrap text to window width" in File : Preferences : Generalノ. Opening a large file with automatic line-wrap to the window size enabled has been speeded up about 20-25% compared to the 1.x version. In the General Preferences dialog it is also possible to specify a custom window width to be used for new windows.
Also note that enabling the extension WorldScript Power Adapter will enhance performance of PageSpinner on PowerPC-based systems, even if you don't use WorldScript.
Open Special
The Open Special menu in the File Menu will let you open any alias, file, stationery file or folder that is placed in the folder named "PageSpinner Aliases" located inside the PageSpinner folder. When you choose an item in the menu the file or alias will be opened by Finder with the application that created the file. New items placed in the folder will be available in the menu the next time you start PageSpinner. Items with names that begin with the character !, * or a space are placed in special sections of the menu.
Open Selection menu item added in File Menu
Select the text of an image, URL or HTML filename and use this command to open the file. PageSpinner will open the file with the selected name if the file is in the same folder as the one that contains the text. If you select a local anchor name, the editor tries to find an anchor point or the first link to the anchor.
This command is also useful to open the correct Include file that is included in the frontmost window, especially if you have an hierarchy of multiple Include folders. Full URL's are sent to the helper application specified in Internet Config.
Preview Selection menu item added in File Menu
Select the text of an image, URL or HTML filename and use this menu item to preview the file in the browser. Full URL's are sent to the helper application specified in Internet Config. The file with the selected name needs to be saved in the same folder as the frontmost document.
Save Selection to Web Server menu item added in File Menu
Select a HTML filename and use this menu item to save the file with the same name as the selected text to the web server. The file with the selected name needs to be saved in the same folder as the frontmost document.
Use Anarchie or Fetch to Save to a Web Server
You can now select if you want to use Anarchie or Fetch to save the frontmost page to the specified web server in the File : Preferences : Web Server... dialog.
Hotkeys to activate PageSpinner or the Browser
When PageSpinner is in the background, you can make it become the frontmost application just by pressing Command + Ctrl and Y simultaneously for a second. You can also make your selected browser become the frontmost application by pressing Command + Ctrl and B. The browser needs to be running. This makes it easy to switch between your browser and PageSpinner when you have many windows open.
The keyboard shortcuts may not work when some incompatible application is the frontmost application or if the frontmost application is doing CPU-intensive work. If the hotkeys above cause problems when pressed in other applications, they can be disabled/enabled in File : Preferences: Generalノ. Please send a bug report if you experience any problem with these hotkeys.
Tag Clipboard
The items in menu Edit : Tag Clipboard let you cut and paste HTML tag pairs. The Select Tag command selects a tag or tag pair if possible. You can then copy or cut the first tag/tag pair in the selection and place it in the Tag Clipboard by using the editing command in this menu. You can later apply the tag placed in the Tag Clipboard onto text selected in the editor by using the Paste Tag menu item.
Select Tag command
The Select Tag command in the Tag Clipboard menu can also be used to view if a tag pair is balanced, since it tries to select all contents between a start and ending tag. Place the insertion point inside or just after a start tag to select the contents up to an end tag. You can also use this command repeatedly to walk through the tags in your HTML document from the end of the file up to the beginning. Once a tag pair and its contents is selected it is also easy to move the entire section using Drag & Drop.
Editor Options
You can customize the options used by the editor. These options will enable you to e.g., set the editor to work like an ordinary text editor:
In File : Preferences : Default Editor Optionsノ you can set the options to be used for styling, Includes and tag editing in new windows and files that is opened by PageSpinner.
In Edit : Editor Optionsノ you can change these options for an open window.
Color-coded tags
Some tags are now displayed in another color than gray, making it easier to locate and read them. The following tags are displayed in other colors:
・ Table, table rows and cells
・ All lists and list item tags
・ Image
・ Links
・ Horizontal line
・ Center
See the file "tech_notes.html" inside the Documentation folder for information on how to make other tags use a different color.
In File : Preferences : Default Editor Optionsノ one of the following colors can be selected for coloring the rest of the tags in a document:
<1_ TAG COLOR SAMPLE>
<2_ TAG COLOR SAMPLE>
<3_ TAG COLOR SAMPLE>
<4_ TAG COLOR SAMPLE>
<5_ TAG COLOR SAMPLE>
<8_ TAG COLOR SAMPLE>
<6_ TAG COLOR SAMPLE>
<7_ TAG COLOR SAMPLE>
<9_ TAG COLOR SAMPLE>
<10 TAG COLOR SAMPLE>
<11 TAG COLOR SAMPLE>
<12 TAG COLOR SAMPLE>
<13 TAG COLOR SAMPLE>
<14 TAG COLOR SAMPLE>
<15 TAG COLOR SAMPLE>
<16 TAG COLOR SAMPLE>
Spell check command
The Check Spelling command in the Edit menu enables you to automatically copy the frontmost window, launch and spellcheck the text with an external clipboard spellchecker such as Spellswell Plus or Excalibur. Select or get info about the spell check helper application in File : Preferences : Helpers.
Link check command
The Check Page command in the Edit menu enables you to launch and make an external link checker such as Big Brother or HTML LinkChecker 2.0 check the links in the frontmost window. Select or get info about the link check helper application in File : Preferences : Helpers.
Other changes
Additional META tags are added in the Robot tag menu. These tags are used for describing contents, author and HTML generator. Information given by these tags are often used by web robots that indexes pages.
More text below the selection is now displayed after a successful search command.
New conversion mode added for conversion of Text to HTML - handles both <P> and <BR>.
Prevented insertion of invisible control characters when Function or Control keys are pressed.
"Replace All" button added in the Find dialog.
If a PageSpinner HTML file named "default.html" is placed inside the PageSpinner folder (in the same folder as the application) the contents of this file will be used as a template when you select File : New Empty Page.
In the HTML Examples window there is a new pop-up menu that will let you switch between different sets of Example plug-ins.
There is now an option to specify width and height for cells in tables created with HTML Assistant.
More JavaScript Examples have been added in the Examples Folder.
A folder with Style Sheet Examples has been added in the Examples folder.
Updated HTML Assistant's Embedded Audio topic, the HTML example and MIDI-example to be compatible with the LiveAudio plug-in distributed with Navigator 3.0. Navigator 4.0b5 may have some problems with these audio tags and files that works in Navigator 2.x, 3.x and Explorer 3.01.
Added option to specify the tab size in pixels for new windows in File : Preferences : Generalノ.
The Random Link JavaScript example has been revised and now also works in versions of Internet Explorer that support JavaScript.
Goodies and Utilities included with PageSpinner 2.0
Internet Explorer Preview
Internet Explorer Preview is a compiled stand-alone AppleScript which tells Internet Explorer to show previews in the frontmost window, instead of creating new windows. Select this AppleScript application as your browser in PageSpinner's File : Preferences : Helpersノ menu item. The application will then tell Explorer to display the page in the frontmost window.
SitePrint
SitePrint is an AppleScript application included in the Goodies folder that allows you to print several HTML files, folders and sub folders, with Netscape by dropping them onto the SitePrint icon.
SitePrint requires that the AppleScript extension (OSAX) AutoType v. 1.1ur or later, is installed in the System's Scripting Addition folder. AutoType costs $5, more information is available in the SitePrint folder.
Drop & Search Applications
The Drop and Search folder inside the Goodies folder includes two AppleScript applications that will search for text, or search and replace text, using AppleEvents to make PageSpinner search the files. Drop text files or folders on these applications to perform the search with PageSpinner.
Possibility to localize contents of the menus to another language
It is now possible to localize the text in most menus to another language. All that is needed is to drop a file named "Menus" that contains the text of the localized menu items. The advantage of this method of localizing menus is that it is easy to update the application and still keep the localized menus. The shortcoming of this method is that isn't possible to translate the menu titles or pop-up menus in HTML Assistant.
There is currently a Swedish version of the menus included, this file is inside the folder named "Goodies". To install a localized menu you will only need to drop the file "Menus" onto the PageSpinner folder named "Settings" and restart PageSpinner. To use the original menus again, just rename the file Menus to something else, or remove it from the Settings folder.
If you are interested in localizing the menu items to another language, you will find information in the folder named "Localizing PageSpinner Menus" in the Documentation folder. Send email to optima@kagi.com if you have questions or require additional information.